package com.example.cloud.service.business.medical;

import com.alibaba.fastjson.JSONArray;
import com.example.cloud.model.business.medical.TreatPlanProduct;
import com.example.cloud.model.dto.Result;

import java.util.List;

/**
 * Created by wangtao on 2018/6/6.
 */
public interface TreatPlanProductService {
    TreatPlanProduct findOne(Long id);
    TreatPlanProduct doSave(TreatPlanProduct record);
    void batchInsert(List<TreatPlanProduct> records, Long patientId);
    Result doDeleteById(Long id);
    void doDelete(List<Long> ids);
    void doExecute(TreatPlanProduct record, int status, String content);
    JSONArray doFindDisposal(Long complaintId);
    JSONArray doFindDrug(Long complaintId);
    JSONArray doFindInject(Long complaintId);
    JSONArray doFindToxic(Long complaintId);
    List<TreatPlanProduct> findByProjectId(Long projectId);
}
